﻿using System.Collections.Generic;

namespace ApplicationGenerator.CommonModule
{
    /// <summary>
    /// Encja błędu (na potrzeby walidacji)
    /// </summary>
    public class ErrorEntity
    {
        private string _controlName = string.Empty;
        private List<string> _errorStrings = new List<string>();
        private int row;
        private int col;

        public int Row
        {
            get { return row; }
            set { row = value; }
        }

        public int Col
        {
            get { return col; }
            set { col = value; }
        }

        public string ControlName
        {
            get { return _controlName; }
            set { _controlName = value; }
        }

        public List<string> ErrorStrings
        {
            get { return _errorStrings; }
            set { _errorStrings = value; }
        }
    }
}
